package day6;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Get80 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int count = 0;//计数，超过80的人
        for (int i = 1; i <= 10; i++) {
            System.out.print("请输入第" + i + "位的成绩：");
            int score = in.nextInt();
            if (score < 80) {
                continue;
            }
            count++;
        }
        System.out.println("超过80的人有："+count);
    }
}
